import Vue from 'vue'
import App from './App.vue'
// 引入echarts
import * as echarts from 'echarts';


import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import  './utils/rem'
import './css/animation.css'
import './css/common.css'
import './css/style.css'
// setHtmlRem() //两个参数，第一个为设计稿屏幕宽度，第二个为此设计稿下的基础字号
import router from './route'
import dataV from '@jiaminghi/data-view'
import scroll from 'vue-seamless-scroll'
Vue.use(scroll)

import 'swiper/css/swiper.min.css' // 注意这里的引入


import china from 'echarts/map/json/china.json' //导入china包
echarts.registerMap('china', china)
Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(dataV)
new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
